import React, { Component } from 'react'
import './parentA.css'
import 'bootstrap/dist/css/bootstrap.min.css';
import 'bootstrap/dist/js/bootstrap';
import { Icon } from 'antd'
export default class parentA extends Component {
    constructor() {
        super()
    }
    render() {
        return (
            <div>
                <div className={this.props.flag ? "nav" : "nav4"} onClick={this.props.open.bind(this.props.this)} >
                    <div className='cont'>{this.props.val.join(",") ? this.props.val.join(",") : '没有选中任何项'}</div> <div className='la'><Icon type="caret-down" /></div>
                </div>

            </div >
        )
    }
}
